package cc.rengu.redp.bizimpl.igas.service.impl;

import cc.rengu.redp.bizimpl.igas.domain.SMchntBindInfo;
import cc.rengu.redp.bizimpl.igas.dao.SMchntBindInfoMapper;
import cc.rengu.redp.bizimpl.igas.service.ISMchntBindInfoService;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author lizk
 */
@Service
@DS("igas")
public class SMchntBindInfoServiceImpl extends ServiceImpl<SMchntBindInfoMapper, SMchntBindInfo> implements ISMchntBindInfoService {

    @Autowired
    private SMchntBindInfoMapper sMchntBindInfoMapper;

    @Override
    public SMchntBindInfo findBindNickName(String bindMchntNo, String bindUserId) {
        return sMchntBindInfoMapper.findbBindNickName(bindMchntNo, bindUserId);
    }

    @Override
    public List<SMchntBindInfo> findBindUserId(String bindMchntNo) {
        return sMchntBindInfoMapper.findBindUserId(bindMchntNo);
    }
}
